package ua.kpi.transport.util.settings;

import java.util.ResourceBundle;

/**
 *
 * @author harker777
 */
public class Pages {
    private static final String FILE_NAME = "ua.kpi.transport.util.settings.pages";
    private static ResourceBundle bundle = ResourceBundle.getBundle(FILE_NAME);

    public static final String HOME_PAGE = "HOME_PAGE";
    public static final String STATIONS_PAGE = "STATIONS_PAGE";
    public static final String EDIT_STATION_PAGE = "EDIT_STATION_PAGE";
    public static final String TYPES_PAGE = "TYPES_PAGE";
    public static final String EDIT_TYPE_PAGE = "EDIT_TYPE_PAGE";
    public static final String ROUTES_PAGE = "ROUTES_PAGE";
    public static final String EDIT_ROUTE_PAGE = "EDIT_ROUTE_PAGE";
    public static final String STATION_TO_ROUTE_PAGE = "STATION_TO_ROUTE_PAGE";
            
    public static String getPage(String page){
        return bundle.getString(page.toUpperCase());
    }
}
